<template>
    <div >
        <Bikan1  v-for="(v,i) in this.$store.state.mkandian.obj.data" :key="i" :name="v.name" :img="v.img" :pemane="v.pemane"
         :price="v.price" :tit="v.tit" :house="v.house " :people="v.people" :subtitle="v.subtitle " :i="i" @click="zufun(i)"
         />
        <div class="kong"></div>
    </div>
</template>
<script>

import Bikan1 from "@/components/haofang/bikan1.vue"
export default {
    components:{
        Bikan1
    },
     mounted(){
        this.$store.dispatch("listact")
    },
    methods:{
        zufun(i){
           let thisid=i
        //  console.log(thisid)
            this.$router.push({name:'deta',query:{thisid:thisid}});
        }
    }
}
</script>
<style  scoped>
    .kong{
       margin-top:0.6rem;
    }
</style>